<template>
  <div class="my-nav-container">
    <div class="navNotice">

      <router-link :to="'/notice/comments'">
        <button>评论</button>
      </router-link>
      <router-link :to="'/notice/likes'">
        <button>点赞收藏</button>
      </router-link>
      <router-link :to="'/notice/follow'">
        <button>关注</button>
      </router-link>
    </div>
    <div class="nav-view">

      <router-view />
    </div>
  </div>
 
</template>

<script setup>
import { ref } from "vue";
import { useRouter } from 'vue-router';
import { RouterLink } from "vue-router";

</script>

<style scoped>
.my-nav-container{
  width: 690px;
  height: 100%;
  top: 0px;
  left: 0px;
  position:relative;
}
.navNotice{
  width: 100%;
  height: 61px;
  padding: 10px;
  position: fixed;
  z-index: 1000;
  display: flex;
}
.navNotice button {
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 10px;
  background-color: #fff;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}
.navNotice button:hover {
  background-color: #cfcdcd;
}
.nav-view{
  position: relative;
  top:61px ;
  width: 100%;  
  height: 100%;
  background-color: #fff;
}
</style>
